package com.cdxy.job.xxl;

import com.cdxy.biz.process.IRechargeBizProcess;
import com.cdxy.service.IRechargeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @Author: tangy
 * @Date: 2020/2/26 0:50
 */
@Component
public class XssJobHandler {

    @Autowired
    private IRechargeBizProcess rechargeBizProcess;

//    @Scheduled(cron = "0/3 * * * * ?")
    public void test() {
        rechargeBizProcess.payValidTime();
    }
}
